package com.stylefeng.guns.modular.vpn_exclusive_line_manage.service;

import com.stylefeng.guns.modular.vpn.vo.Paging;
import com.stylefeng.guns.modular.vpn_exclusive_line_manage.entity.ExclusiveLineDO;
import com.stylefeng.guns.modular.vpn_exclusive_line_manage.dto.PackageDTO;
import com.stylefeng.guns.modular.vpn_exclusive_line_manage.entity.VpnServerDO;

import java.util.List;

/**
 * 专属线路
 */
public interface IVpnExclusiveLineService {
    Paging<ExclusiveLineDO> list(Integer page, Integer size);
    void addPackageOfUser(PackageDTO dto);
    void deletePackage(String serverId,String userId);
    void update(Integer serverId,String userNames);
    ExclusiveLineDO findExclusiveLinePackage(Integer serverId);
    List<VpnServerDO> serverList();
}
